package com.y.ari.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.y.ari.common.RestResponse;
import com.y.ari.dto.FlightDTO;
import com.y.ari.dto.FlightFormDTO;
import com.y.ari.dto.PageDTO;
import com.y.ari.entity.Flight;
import com.y.ari.entity.PageParams;

import java.util.List;

/**
 * <p>
 * 航班信息 服务类
 * </p>
 *
 * @author itcast
 * @since 2023-04-21
 */
public interface FlightService extends IService<Flight> {

    List<FlightDTO> selFlight(FlightFormDTO flightFormDTO);

    PageDTO selPage(PageParams pageParams);

    RestResponse saveFC(FlightDTO flightDTO);

    RestResponse delFC(Long id);
}
